﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mailer.Model.Types
{
	public class SendQueue
	{
		public virtual int ID { get; set; }
		public virtual Guid MailID { get; set; }
		public virtual Guid RecipientID { get; set; }
		public virtual int State { get; set; }
		public virtual int Priority { get; set; }
		public virtual DateTime? QueuedDate { get; set; }
		public virtual DateTime? VerifiedDate { get; set; }
		public virtual DateTime? SentDate { get; set; }
		public virtual Guid? QueuedBy { get; set; }

		public SendQueue()
		{
			ID = 0;
			MailID = Guid.Empty;
			RecipientID = Guid.Empty;
			State = (int)QueueState.NotSent;
			Priority = 0;
			QueuedBy = Guid.Empty;
			QueuedDate = null;
			VerifiedDate = null;
			SentDate = null;
		}
	}
}
